package com.ty.springbootweb.service;

import com.ty.springbootweb.entity.User;
import org.springframework.stereotype.Service;

import java.util.List;


public interface UserService {

    public User login(String username, String password);
    public int addUser(User user);
    public int updateUser(User user);
    public int deleteUser(Long usrId);
    public User getUser(Long usrId);
    public List<User> findAllUsers();


}
